logo

Tiktok Scraper - TikTok Data Extractor

RealdataAPI / tiktok-data-scraper

Scrape TikTok data such as user profiles, followers, names, hearts, posts, comments, hashtags, videos, music, URLs, and other data fields using TikTok Data Scraper. You can easily scrape TikTok data in Canada, France, Australia, Germany, the USA, the UK, Spain, and other countries.

What does Real Data API TikTok Scraper do?

The Unlimited TikTok Scraper on our platform allows you to accelerate your TikTok data scraping. This powerful unofficial TikTok actor allows you to scrape unlimited data using your business reports and projects on a new application basis. The scraper allows you to extract the following data from TikTok.

  • All the output from selected hashtags with details: timestamp, comments, share, video count, videos, views, etc
  • Each post from the selected TikTok user profile with details: nickname, bio, share, comment count, play, nickname, followers count, ID, etc.
  • Music and video-related information
  • Individual video posts using a specific link to the video.

Do You Need Limited TikTok Results?

Use this dedicated and quick free TikTok Scraper to extract TikTok data effectively. Only enter TikTok usernames, video URLs, and hashtags, and tap to scrape. Remember that this TikTok data scraper restricts your output to 5 comments and 20 results.

What is the Cost of Using a TikTok Scraper?

Running the scrape once consumes 0.2 compute units, giving you one thousand results. It means it consumes less than 1 USD platform credit for one thousand results.

The simplest mode to know credit consumption is to perform a trial run. To check the remaining platform credit, go to the Usage and Billing option in the settings of your Real Data API console account.

What is the Process of Scraping TikTok? - Video Guide and Tutorial

To use this unlimited TikTok data Scraper, you don't need any coding knowledge to process. Follow the below stepwise guide to learn how to use this TikTok Scraper, or watch the video tutorial.

How to Use Scraped TikTok Information?

  • Forecast growing influencers, observe, and monitor emerging trends.
  • Streamline market research for hashtag challenges and plan advertising campaigns.
  • Be ready for incoming TikTok marketing activities: begin and promote your TikTok channel or partner with relevant influencers.
  • Review the market for sentimental study and genuine product reviews.
  • Compile survey data from users effectively and quickly.
  • Get data for social listening experiments and research.
  • Spread brand awareness with social issues and reasons.
  • Study viral trends and campaigns.
  • Recognize wrong information and unverified content with immense public value.

To get more ideas on web scraping data uses, you can explore our industry pages. For example, you can track the market and make data-driven studies for eCommerce and retail businesses.

Input Parameters

If you run this scraper in the Real Data API platform, our user-friendly interface will help you to configure each parameter. Here are the input parameters of the scraper.

  • profiles: Scrape TikTok profile data. You can extract any number of profiles in a single click.
  • hashtags: It scrapes TikTok hashtags. You can extract multiple hashtags in a single run of the scraper.
  • postURLs: you can extract particular posts from the TikTok platform.
  • resultsPerPage: it sets up the result quantity you want to scrape on the scale of thousands.
  • maxRequestRetries: it signals the scraper limit retries if there is any error.
  • proxyConfiguration: streamlines proxy server configuration.

Example

{
 "resultsPerPage": 200,
 "proxyConfiguration": {
 "useRealdataAPIProxy": true
 },
 "profiles": [
 "gordonramsayofficial"
 ],
 "maxRequestRetries": 10,
 "maxConcurrency": 1
}

Output

You will get output in dataset format. The dataset length will depend on the result’s quantity you should have. You can export these outputs in multiple formats like CSV, HTML, JSON, Excel, etc.

Example

{
 "id": "7055028634653936901",
 "text": "I’m taking #burgers to the Next Level ! Cant wait to see what you do in the #NextLevelBurgerChallenge and dont miss #NextLevelChef at 9/8c on @foxtv",
 "createTime": 1642626859,
 "authorMeta": {
 "id": "6747935906352907269",
 "name": "gordonramsayofficial",
 "nickName": "Gordon Ramsay",
 "verified": true,
 "signature": "I cook sometimes too...../n/nRecipes here 👇🏻",
 "avatar": "https://p16-sign-va.tiktokcdn.com/musically-maliva-obj/1647754017437702~c5_720x720.jpeg?x-expires=1643727600&x-signature=Pt0c5grq00F9ow79gnLI3KOmL2w%3D",
 "following": 387,
 "fans": 30900000,
 "heart": 461400000,
 "video": 241,
 "digg": 422
 },
 "musicMeta": {
 "musicName": "Do It To It",
 "musicAuthor": "ACRAZE",
 "musicOriginal": false,
 "musicAlbum": "Do It To It",
 "playUrl": "https://sf16-ies-music-va.tiktokcdn.com/obj/tos-useast2a-ve-2774/dfb55719b35c4054a476435a2c9e6dad"
 },
 "webVideoUrl": "https://www.tiktok.com/@gordonramsayofficial/video/7055028634653936901",
 "videoUrl": "https://v16-webapp.tiktok.com/09be39efbc231a61f38b459ad9e0051e/61f85346/video/tos/useast2a/tos-useast2a-pve-0068/986c2e152a1d4b2190b19f519f03cace/?a=1988&br=1424&bt=712&cd=0%7C0%7C1%7C0&ch=0&cr=0&cs=0&cv=1&dr=0&ds=3&er=&ft=XOQ9-3E7nz7ThX~U3lXq&l=2022013115230501018905015811283465&lr=tiktok_m&mime_type=video_mp4&net=0&pl=0&qs=0&rc=M3A5Ojk6Zmw6OjMzNzczM0ApNDtnOTo6ODw1NzVnZGY2M2doYmktcjRvbmhgLS1kMTZzczYtMzEvLWE2Nl4wY182LS06Yw%3D%3D&vl=&vr=",
 "videoMeta": {
 "height": 1024,
 "width": 576,
 "duration": 13
 },
 "diggCount": 159700,
 "shareCount": 295,
 "playCount": 1700000,
 "commentCount": 2189,
 "downloaded": false,
 "mentions": [
 "@foxtv"
 ],
 "hashtags": [
 {
  "id": "45125",
  "name": "burgers",
  "title": "",
  "cover": ""
 },
 {
  "id": "7055017426714378287",
  "name": "nextlevelburgerchallenge",
  "title": "",
  "cover": ""
 },
 {
  "id": "1666459072865281",
  "name": "nextlevelchef",
  "title": "",
  "cover": ""
 }
 ],
 "effectStickers": []
}

Proxy Servers

The TikTok Scraper runs well with the Real Data API proxy servers, which we have set as the default for all the scrapers. But if you face any issue in the execution, you can switch to a residential proxy server to get reliable, efficient, quick outputs.

TikTok Scraper with Real Data API Integrations

You can connect TikTok Data Scraper API with any web application or cloud service using Real Data API integrations. You can embed with Zapier, GitHub, Airbyte, Slack, Google Drive, Google Sheets, Make, etc. You have another option: try Webhooks to carry out any event occurrence action.

How to Use TikTok Scraper with Real Data API?

We give you programmatic permission to use this scraper on the Real Data API platform. The team has organized the RESTful HTTP endpoints to allow you to schedule, manage, and execute Real Data API scrapers. The scraper also allows you to retrieve results, track scraper performance, use datasets, create and update scraper versions, and more.

To use the scraper using Python, try our client PyPl package, and to use the actor using Node.js, try our client NPM package. Visit the API tab to check code examples.

Personal Information

You must know that your outputs may include some personal information. GDPR and other regulations protect private data with rules and regulations worldwide. Hence, you shouldn't extract personal data without prior permission or genuine reason. If you are not sure, you can consult your lawyers.

Your Feedback

This Unlimited TikTok Scraper extracts user profiles, hashtags, or post-related information from the source platform. In the coming days, we will be introducing more options. So if you want to suggest something, don't hesitate to contact us.

Industries

Check out how industries use TikTok Scraper worldwide.

Marketing-and-Media

Marketing and Media

You should have a Real Data API account to execute the program examples. Replace < YOUR_API_TOKEN > in the program using the token of your actor. Read about the live APIs with Real Data API docs for more explanation.

import { RealdataAPIClient } from 'RealdataAPI-Client';

// Initialize the RealdataAPIClient with API token
const client = new RealdataAPIClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare actor input
const input = {
    "hashtags": [
        "followforfollowback"
    ],
    "resultsPerPage": 10,
    "proxyConfiguration": {
        "useRealdataAPIProxy": true
    }
};

(async () => {
    // Run the actor and wait for it to finish
    const run = await client.actor("clockworks/tiktok-scraper").call(input);

    // Fetch and print actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();
from RealdataAPI_client import RealdataAPIClient

# Initialize the RealdataAPIClient with your API token
client = RealdataAPIClient("<YOUR_API_TOKEN>")

# Prepare the actor input
run_input = {
    "hashtags": ["followforfollowback"],
    "resultsPerPage": 10,
    "proxyConfiguration": { "useRealdataAPIProxy": True },
}

# Run the actor and wait for it to finish
run = client.actor("clockworks/tiktok-scraper").call(run_input=run_input)

# Fetch and print actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare actor input
cat > input.json <<'EOF'
{
  "hashtags": [
    "followforfollowback"
  ],
  "resultsPerPage": 10,
  "proxyConfiguration": {
    "useRealdataAPIProxy": true
  }
}
EOF

# Run the actor
curl "https://api.RealdataAPI.com/v2/acts/clockworks~tiktok-scraper/runs?token=$API_TOKEN" /
  -X POST /
  -d @input.json /
  -H 'Content-Type: application/json'

TikTok Hashtags

hashtags Optional Array

Feed TikTok hashtags, and the actor will retrieve followers, users, likes, and other TikTok data.

Max Results

resultsPerPage Required Integer

The result counts that Scraper will extract from all the profiles and hashtags.

Profile(s)

profiles Optional Array

Add the TikTok username you want to scrape data for.

Direct URL(s) to Scrape Specific Video(s)

postURLs Optional Array

Add video URLs you want to extract. You can submit links individually or simply upload a link to a Txt file.

Should Download Videos

shouldDownloadVideos Optional Boolean

Whether you should download video files from a targeted platform, note that downloading video files will increase the time and cost of the scraper run.

Should Download Video Thumbnails

shouldDownloadCovers Optional Boolean

Whether you should download video cover photos or thumbnails from a targeted platform, note that downloading video files will increase the time and cost of the scraper run.

Video Download Key-Value Store ID or Name

videoKvStoreIdOrName Optional String

ID or Name of the key-value store where you will save videos with default omit to store in being 1.

Proxy Server Configuration

proxyConfiguration Required Object

You have two options to use proxy servers here. One is an automated proxy server, and the other is a custom or specific proxy.

Max Request Retries

maxRequestRetries Optional Integer

Page retry count in case of errors or blocking issues from the data source.

Max Concurrency

maxConcurrency Optional Integer

Maximum allows instance count to run simultaneously. If you use more instances, you will need more memory.

{
  "hashtags": [
    "followforfollowback"
  ],
  "resultsPerPage": 10,
  "shouldDownloadVideos": false,
  "shouldDownloadCovers": false,
  "proxyConfiguration": {
    "useRealdataAPIProxy": true
  },
  "maxRequestRetries": 5,
  "maxConcurrency": 1
}